package com.yangjiayu.enums;

/**
 * @Classname SSEMsgType
 * @Description 发送SSE的消息类型
 * @Date 2025/8/13 06:29
 * @Created by YangJiaYu
 */
public enum SSEMsgType {

    MESSAGE("message","单次发送的普通消息类型"),
    ADD("add","消息追加，适用于流式stream推送"),
    FINISH("finish","单次发送的普通消息类型"),
    CUSTOM_EVENT("custom_event","单次发送的普通消息类型"),
    DONE("done","单次发送的普通消息类型"); // ChatGLM v4


    public final String type;
    public final String value;

    SSEMsgType(String type,String value){
        this.type=type;
        this.value=value;
    }
}
